<?php
/* @var $this CmpDepositController */
/* @var $model CmpDeposit */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'客户服务'=>array($this->pre_module_url.'/cmpServices/admin'),
	'退款管理'=>array($this->pre_module_url.'/refund/admin'),
	'确认退款'
);

?>
<div class="hr_15"></div>
<div class="steps report_steps">
	<ul class="fs_14 c_f">
		<li class="done done_b first"><span class="one">第一步,选择举报类型</span></li>
		<li class="done_b"><span class="two">第二步，填写举报内容</span></li>
		<li class="<?php echo ($model->zmr_status==3)?'done_a':'cur'?>"><span class="three">第三步，等待客服处理</span></li>
		<li class="<?php echo ($model->zmr_status==3)?'cur_last':'last'?>"><span class="four">第四步，举报完成</span></li> 
	</ul>
</div>
<div class="hr_20"></div>
<!--举报管理 start-->
<div class="report_box step_box">
	<div class="step_info">
		<div class="step_status">
			<div class="status">
				<p><span class="ico_big ico_done"></span><strong class="fs_14 mr20"><?php echo ($model->zmr_status==3)?'举报完成,如有异议，请联系客服':'客户举报' ?></strong></p>
			</div>
			<ul class="form_list">  
				<li><span class="tit">处理结果：</span><span><?php echo ($model->zmr_status==3)?$model->zmr_disposeidea:'请在2个工作日内（双休日及法定节假日除外）介入处理，并在介入后的7天内给出处理意见。' ?></span></li>
			</ul>
		</div>
		<div class="info">
			<ul class="form_list"> 
				<li><span class="tit">举报编码：</span><span><?php echo CHtml::encode($model->zmr_id)?></span></li>
				<li><span class="tit">相关宝贝：</span><?php echo CHtml::link(str_cut($model->product->zp_name,60),array('/home/product/detail','id'=>$model->product->zp_id),array('class'=>'c_06c'))?></li>
				<li><span class="tit">举报类型：</span><span><?php echo CHtml::encode(MemReport::model()->getTypeInfo($model->zmr_type_info))?></span></li>
				<li class="c_f"><span class="tit f_l">凭证：</span>
					<div class="cert_img f_l">
						<ul class="c_f">
							<li><?php echo CHtml::image(!empty($model->zmr_mem_pic[0])?$model->zmr_mem_pic[0]:"/images/cert_img.jpg")?></li>
							<li><?php echo CHtml::image(!empty($model->zmr_mem_pic[1])?$model->zmr_mem_pic[1]:"/images/cert_img.jpg")?></li>
							<li><?php echo CHtml::image(!empty($model->zmr_mem_pic[2])?$model->zmr_mem_pic[2]:"/images/cert_img.jpg")?></li>
						</ul>
					</div>
				</li>
				<li><span class="tit">举报内容：</span><span><?php echo CHtml::encode($model->zmr_content)?></span></li>
			</ul>
		</div>
		<?php $form=$this->beginWidget('CActiveForm', array(
			'id'=>'refund-form-form',
			'enableAjaxValidation'=>false,
		)); ?>
			<ul class="form_list"> 
				<li>
					<span class="tit"><?php if($model->zmr_status==3) echo "修改" ?>处理意见：</span>
					<?php echo $form->textArea($model,'zmr_disposeidea',array('class'=>'t_area'))?>
				</li>
				<li class="link">
					<span class="tit"></span>
					<?php echo CHtml::submitButton('提交意见',array('class'=>'mem_btn mem_btn20 mr5','name'=>'appeal'))?>
				</li>
			</ul>
		<?php $this->endWidget(); ?>
	</div>
</div>
<!--举报管理 end-->

